package com.qf.store.service.impl;

import com.qf.store.entity.GoodsSort;
import com.qf.store.mapper.GoodsSortMapper;
import com.qf.store.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author songfei
 * @Date 2021/10/7 18:16
 * @Version 1.0
 */
@Service
public class GoodsSortServiceImpl implements GoodsSortService {
    @Autowired
    private GoodsSortMapper goodsSortMapper;
    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
